#ifndef PROTOCOL645_H
#define PROTOCOL645_H
#include <QWidget>
#include <QLabel>
#include <QComboBox>
#include <QPushButton>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QTextBrowser>
#include <QLineEdit>
#include <QDebug>
#include <QListWidget>
#include <QListWidgetItem>
#include <QStackedWidget>
#include <QStackedLayout>
#include <QGridLayout>
#include <QGroupBox>
#include <QCheckBox>
#include <QTimerEvent>
#include <QTimer>
#include <QProgressBar>
#include "global_var.h"

class protocol645 : public QWidget
{
     Q_OBJECT

signals:
    void sendframeSignal_param_page();

public slots:
        void logSlot(QString);
public:
    protocol645();
    INT8U isProtocol645(INT8U *frame,INT16U frameLen);
    sendItemRes prepareSend(INT8U readType,INT8U addr_no[][6],INT8U addr_cnt,INT8U next_frame_no);
    void make645FrameAndSend(INT8U *meterNo,INT8U ctl,INT8U *Item,INT8U ItemLen);
          QTextBrowser *test_show;
        QVBoxLayout  *setMainLayout;


        //定时器
        int timerid645;
};

#endif // PROTOCOL645_H
